package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_MED_OUTSTOCK database table.
 * 
 */
@Entity
@Table(name="YZR_MED_OUTSTOCK")
@NamedQuery(name="YzrMedOutstock.findAll", query="SELECT y FROM YzrMedOutstock y")
public class YzrMedOutstock implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="MED_OUTSTOCK_ID")
	private String medOutstockId;

	@Column(name="MED_OUTSTOCK_KIND")
	private String medOutstockKind;

	@Column(name="MED_OUTSTOCK_MED_DRAW_ID")
	private String medOutstockMedDrawId;

	@Column(name="MED_OUTSTOCK_PERSON")
	private BigDecimal medOutstockPerson;

	@Column(name="MED_OUTSTOCK_STORE_ID")
	private String medOutstockStoreId;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	@Column(name="MED_OUTSTOCK_TIME")
	private Date medOutstockTime;

	@Column(name="MED_OUTSTOCK_WHERE")
	private String medOutstockWhere;

	public YzrMedOutstock() {
	}

	public String getMedOutstockId() {
		return this.medOutstockId;
	}

	public void setMedOutstockId(String medOutstockId) {
		this.medOutstockId = medOutstockId;
	}

	public String getMedOutstockKind() {
		return this.medOutstockKind;
	}

	public void setMedOutstockKind(String medOutstockKind) {
		this.medOutstockKind = medOutstockKind;
	}

	public String getMedOutstockMedDrawId() {
		return this.medOutstockMedDrawId;
	}

	public void setMedOutstockMedDrawId(String medOutstockMedDrawId) {
		this.medOutstockMedDrawId = medOutstockMedDrawId;
	}

	public BigDecimal getMedOutstockPerson() {
		return this.medOutstockPerson;
	}

	public void setMedOutstockPerson(BigDecimal medOutstockPerson) {
		this.medOutstockPerson = medOutstockPerson;
	}

	public String getMedOutstockStoreId() {
		return this.medOutstockStoreId;
	}

	public void setMedOutstockStoreId(String medOutstockStoreId) {
		this.medOutstockStoreId = medOutstockStoreId;
	}

	public Date getMedOutstockTime() {
		return this.medOutstockTime;
	}

	public void setMedOutstockTime(Date medOutstockTime) {
		this.medOutstockTime = medOutstockTime;
	}

	public String getMedOutstockWhere() {
		return this.medOutstockWhere;
	}

	public void setMedOutstockWhere(String medOutstockWhere) {
		this.medOutstockWhere = medOutstockWhere;
	}

}